package com.firebird.app.fekpsl.utils

object MemberUtil {
    fun getLevelName(levelScore: Long): String {
        var levelName=""
        when (levelScore) {
            in 0..50 -> levelName="草民"
            in 50..150 -> levelName="县丞"
            in 150..350 -> levelName="县令"
            in 350..750 -> levelName="都尉"
            in 750..1550 -> levelName="校尉"
            in 1550..3150 -> levelName="常侍"
            in 3150..6350 -> levelName="中郎将"
            in 6350..12750 -> levelName="太守"
            in 12750..20000 -> levelName="刺史"
            in 20000..30000 -> levelName="将军"
            in 30000..40000 -> levelName="太尉"
            in 40000..50000 -> levelName="大将军"
            else -> levelName="王"
        }
        return levelName
    }
}